package study01;
import java.util.*;

public class Java06_Object {
    public static void main(String[] args) {
//        StaticTest.test1();
        StaticTest s = new StaticTest("我是构造函数");
//        s.test();
//        Date d = new Date();
//        System.out.println(d);

    }
}

class StaticTest {
    StaticTest(String name) {
        System.out.println(name);
    }
    static {
        System.out.println("静态代码块1");
    }
    void test() {
        System.out.println("test...");
    }
    static {
        System.out.println("静态代码块2");
    }
    static void test1() {
        System.out.println("test1...");
    }
    static {
        System.out.println("静态代码块3");
    }
    {
        System.out.println("普通代码块1");
    }
}
